.home-container {
    padding: 24px;
}

.page-title {
  color: var(--text-color);
  margin-bottom: 24px;
  font-size: 24px;
}

.section-container {
  margin-top: 24px;
}

.section-title {
  color: var(--text-color);
  margin-bottom: 16px;
  font-size: 18px;
}

.ant-card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 8px;
}

.ant-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.ant-statistic-title {
  color: var(--text-color);
  font-size: 16px;
  margin-bottom: 8px;
}

.ant-statistic-content {
  font-size: 24px;
  font-weight: bold;
}

.stats-row {
  margin-bottom: 24px;
}

.stats-row .ant-card {
  height: 100%;
  transition: all 0.3s ease;
}

.stats-row .ant-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.map-card {
  margin-bottom: 24px;
}

.map-container {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.map-popup {
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 12px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.map-popup h4 {
  margin: 0 0 4px 0;
  color: #1890ff;
  font-size: 14px;
}

.map-popup p {
  margin: 2px 0;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.65);
}

.platforms-card {
  margin-top: 24px;
}

.platform-container {
  padding: 0 40px;
}

.platform-grid {
  margin-top: 8px;
  margin-bottom: 8px;
}

.platform-grid .ant-row {
  margin: -16px !important;
}

.platform-grid .ant-col {
  padding: 16px !important;
}

.platform-item {
  height: 100px;
  transition: all 0.3s ease;
  margin: 0;
  position: relative;
}

.platform-item.online {
  border: 1px solid #52c41a;
}

.platform-item.offline {
  border: 1px solid #ff4d4f;
}

.platform-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 8px;
}

.platform-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.platform-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-color);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-left: 8px;
}

.status-dot.online {
  background-color: #52c41a;
  box-shadow: 0 0 6px rgba(82, 196, 26, 0.5);
}

.status-dot.offline {
  background-color: #ff4d4f;
  box-shadow: 0 0 6px rgba(255, 77, 79, 0.5);
}

.platform-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.connector-count {
  font-size: 14px;
  color: var(--text-color);
  margin-bottom: 4px;
}

.connector-count .anticon {
  margin-right: 4px;
  color: #1890ff;
}

/* 响应式布局 */
@media (max-width: 768px) {
  .home-container {
    padding: 16px;
  }

  .platform-container {
    padding: 0 16px;
  }

  .platform-item {
    height: 90px;
  }

  .platform-header h3 {
    font-size: 14px;
  }

  .connector-count {
    font-size: 12px;
  }
} 